Tootsville-User::Banhammer

Function

Banhammer names a function, with lambda list (&REST WORDS):

Ban an IP address from connecting.

Bans can be listed using #banhammer #list

Bans can be lifted using #banhammer #-ip IP-ADDRESS (or hostname)

A ban can be placed with #banhammer #+ip IP-ADDRESS or #banhammer #+ip HOSTNAME or #banhammer #user USERNAME. In the latter case, the user's connected IP address is used. This is expected to be the most common usage.

Usage

#banhammer #list
#banhammer #user NICKNAME
#banhammer #+ip ADDRESS
#banhammer #-ip ADDRESS

Parameters

The first word is a subcommand; one of #+ip, #-ip, #user, or #list. For #+ip, #-ip, or #user, an additional parameter is needed.

File

Defined in file src/infinity/legacy-ops.lisp.